Hummingbird\Core\Modules\Minify D

Total Complexity 328
Dependencies 15
Dependents 6
Total lines 2,219
Lines of code 1,186
Logical lines of code 726
Comment lines 711
Methods 81
Properties 10

Methods 81

Method Rating Maintainability Complexity Lines of code
filter_enqueues_list()
C
33 27 95
get_processed_collection()
C
34 24 84
group_dependencies_by_attributes()
C
36 24 76
maybe_split_groups()
B
43 17 48
process_queue()
A
44 15 43
get_splitted_group_structure_by()
A
49 10 31
run()
A
50 9 25
find_internal_links()
A
55 8 18
add_safe_mode_param_to_links()
S
52 7 24
filter_resource_combine()
S
54 7 21
process_fonts()
S
54 7 21
save_css()
S
48 6 35
add_items_to_persistent_queue()
S
55 6 21
safe_mode_notice()
S
54 5 22
toggle_service()
S
56 5 21
get_resources_collection()
S
56 5 18
filter_resource_minify()
S
59 5 14
clear_cache()
S
51 4 27
remove_item_from_persistent_queue()
S
54 4 22
enqueue_critical_css()
S
57 4 17
minify_module_status()
S
59 4 15
get_disabled_switchers()
S
63 5 9
exclude_from_ao_ui()
S
64 5 9
on_delete_post()
S
64 5 9
trigger_process_queue_cron()
S
60 4 14
attach_scripts_localization()
S
52 3 29
attach_inline_attribute()
S
55 3 22
get_tags()
S
62 4 10
init()
S
49 2 29
reset_minification_settings()
S
59 3 13
clear_files()
S
62 3 11
prefetch_cdn_dns()
S
70 3 6
filter_resource_cdn()
S
64 3 9
disable_minify_for_safe_mode()
S
65 3 10
clear_file()
S
64 3 9
get_safe_mode_option_value()
S
64 3 9
remove_rtl_prefix_on_cdn()
S
66 3 9
is_asset_link()
S
67 3 8
is_admin_link()
S
62 3 10
update_ao_completion_time()
S
65 3 8
get_postmeta_fields()
S
55 1 24
register_cpts()
S
55 1 21
is_frontend_link()
S
76 2 4
maybe_serve_safe_mode_minify_settings()
S
71 2 6
get_wp_media_extensions()
S
66 2 10
maybe_append_safe_mode_query_arg()
S
70 2 6
exclude_essential_safe_mode_scripts()
S
72 2 6
filter_after_after_attribute()
S
71 2 6
preload_fonts()
S
66 2 8
previewing_safe_mode()
S
73 2 4
disable()
S
65 2 10
filter_after_before_attribute()
S
71 2 6
schedule_process_queue_cron()
S
73 2 5
filter_resource_block()
S
66 2 8
filter_resource_defer()
S
66 2 8
filter_resource_inline()
S
66 2 8
filter_resource_to_footer()
S
66 2 8
get_css()
S
66 2 8
filter_resource_async()
S
68 2 7
filter_resource_preload()
S
68 2 7
is_in_header()
S
78 2 3
is_in_footer()
S
78 2 3
init_scan()
S
74 1 5
get_queue_to_process()
S
82 1 3
clear_pending_process_queue()
S
70 1 6
delete_pending_persistent_queue()
S
76 1 4
get_cdn_status()
S
76 1 4
toggle_cdn()
S
73 1 5
is_internal_link()
S
78 1 3
disable_minify_on_page()
S
79 1 3
get_pending_persistent_queue()
S
80 1 3
filter_styles()
S
79 1 3
init_module_action()
S
70 1 6
set_safe_mode_option_value()
S
76 1 4
reset_safe_mode()
S
72 1 6
filter_scripts()
S
79 1 3
set_safe_mode_settings()
S
73 1 5
get_safe_mode_settings()
S
76 1 4
set_safe_mode_status()
S
73 1 5
get_safe_mode_status()
S
75 1 4
delete_safe_mode()
S
81 1 3